package com.jython.demo.service;

import com.jython.demo.dao.WordCountMapper;
import com.jython.demo.model.WordCount;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WordCountService {
    @Resource
    private WordCountMapper wordCountMapper;
    public List<WordCount> show(){
        return wordCountMapper.getAll();
    }
}
